<?php
namespace app\index\controller;

use app\common\service\GeTuiService;
use app\common\service\Sms;

class Test
{
    /**
     * 测试短信发送
     */
    public function index()
    {
        Sms::send( "13693731390");
    }

    /**
     * 测试push推送
     */
    public function push()
    {
        $GeTuiService = new GeTuiService();
        $GeTuiService->pushMessageToApp( "测试推送","测试推送","");
    }

}
